package io.renren.modules.app.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.AgentEntity;

import java.util.List;
import java.util.Map;

public interface AgentService extends IService<AgentEntity> {

    boolean addOneAgent(AgentEntity agentEntity);

    AgentEntity queryById(Integer agentId);

    AgentEntity queryByName(String agentName);

    PageUtils queryPage(Map<String, Object> params);

    List<AgentEntity> selectAll(String agentName,String agent_province, String city);

    boolean update(AgentEntity agentEntity);

}
